package com.tianyi.lib.req;

import com.tianyi.lib.enums.SysUserStatus;
import com.tianyi.lib.enums.SysUserTypes;

import java.util.Date;

/**
 * 系统用户req
 *
 * @author cuixuhui
 */
public class SysUserReq extends BaseReq {

    /**
     * 登陆名
     */
    private String userName;
    /**
     *  电子邮箱
     */
    private String mail;
    /**
     * 真实姓名
     */
    private String userNameCn;
    /**
     * 用户类型
     */
    private SysUserTypes userType;
    /**
     * 11位手机号
     */
    private Long phone;
    /**
     * 密码
     */
    private String password;
    /**
     * 入职时间
     */
    private Date entryTime;
    /**
     * remark
     */
    private String remark;
    /**
     * 用户状态
     */
    private SysUserStatus userStatus;

    /**
     * 权限id
     */
    private Long roleId;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getUserNameCn() {
        return userNameCn;
    }

    public void setUserNameCn(String userNameCn) {
        this.userNameCn = userNameCn;
    }

    public SysUserTypes getUserType() {
        return userType;
    }

    public void setUserType(SysUserTypes userType) {
        this.userType = userType;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(Date entryTime) {
        this.entryTime = entryTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public SysUserStatus getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(SysUserStatus userStatus) {
        this.userStatus = userStatus;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "SysUserReq{" +
                "userName='" + userName + '\'' +
                ", mail='" + mail + '\'' +
                ", userNameCn='" + userNameCn + '\'' +
                ", userType=" + userType +
                ", phone=" + phone +
                ", password='" + password + '\'' +
                ", entryTime=" + entryTime +
                ", remark='" + remark + '\'' +
                ", userStatus=" + userStatus +
                ", roleId=" + roleId +
                '}';
    }
}
